SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 50401: A null-pointer exception occurs in SAS® Forecast Studio when you attempt to edit a model from the Model View tab

DetailsHotfixAboutRate It

In SAS Forecast Studio, the Edit Model button does not always work when you use it to edit a model from the Model View tab. When you click the button, the following null-pointer exception is generated:

java.lang.NullPointerException
        at com.sas.analytics.forecasting.client.api.model.support.Polynomial.
equals(Polynomial.java:67)
        at com.sas.analytics.forecasting.client.api.models.xmlsupport.TSFilter.
equals(TSFilter.java:89)
        at com.sas.analytics.forecasting.client.impl.models.support.ArimaModelComponent.
equals(ArimaModelComponent.java:158)
        at com.sas.analytics.forecasting.client.api.model.support.Predictor.
equals(Predictor.java:96)
        at java.util.ArrayList.indexOf(Unknown Source)
        at java.util.ArrayList.contains(Unknown Source)

        at java.util.AbstractCollection.removeAll(Unknown Source)
        at com.sas.analytics.forecasting.client.api.models.Arima.removeAllEvent
Predictors(Arima.java:331)
        at com.sas.analytics.forecasting.client.api.modelspecs.selectionlist.
ModelSelectionList.injectEventsIntoArima(ModelSelectionList.java:442)
        at com.sas.analytics.forecasting.client.api.modelspecs.selectionlist.
ModelSelectionList.injectEventsIntoModelSpec(ModelSelectionList.java:426)
        at com.sas.analytics.forecasting.client.api.modelspecs.selectionlist.
ModelSelectionList.getSystemNameFor(ModelSelectionList.java:410)
        at com.sas.analytics.forecasting.swing.fstudio.holders.ModelSelectionList
Holder.getSystemNameFor(ModelSelectionListHolder.java:164)
        at com.sas.analytics.forecasting.swing.fstudio.modelspec.modelcontext.
DefaultSeriesContext.getModelSpecSystemName(DefaultSeriesContext.java:934)
        at com.sas.analytics.forecasting.swing.fstudio.modelspec.ModelSpecification
Screen.initValues(ModelSpecificationScreen.java:777)

As a workaround, you can edit your model as follows:

  1. From the menu on the SAS Forecast Studio console, select Project ► Model Repository to open the model repository.
  2. In the repository, select your project and click Edit. You should be able to edit your model from this location.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Forecast StudioMicrosoft® Windows® for x643.1_M312.39.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition3.1_M39.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition3.1_M39.2 TS2M3
Microsoft Windows Server 2003 Standard Edition3.1_M39.2 TS2M3
Microsoft Windows Server 2003 for x643.1_M39.2 TS2M3
Microsoft Windows Server 20083.1_M39.2 TS2M3
Microsoft Windows Server 2008 R2 for x643.1_M312.39.2 TS2M39.4 TS1M0
Microsoft Windows Server 2008 for x643.1_M312.39.2 TS2M39.4 TS1M0
Microsoft Windows XP Professional3.1_M39.2 TS2M3
Windows 7 Enterprise 32 bit3.1_M39.2 TS2M3
Windows 7 Enterprise x643.1_M312.39.2 TS2M39.4 TS1M0
Windows 7 Home Premium 32 bit3.1_M39.2 TS2M3
Windows 7 Home Premium x643.1_M39.2 TS2M3
Windows 7 Professional 32 bit3.1_M39.2 TS2M3
Windows 7 Professional x643.1_M312.39.2 TS2M39.4 TS1M0
Windows 7 Ultimate 32 bit3.1_M39.2 TS2M3
Windows 7 Ultimate x643.1_M39.2 TS2M3
Windows Vista3.1_M39.2 TS2M3
Windows Vista for x643.1_M39.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.